package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_agreement_info")
public class UserAgreementInfo extends Model<UserAgreementInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.ASSIGN_UUID)
    private String userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 协议id
     */
    private String xyId;

    /**
     * 标题
     */
    private String xyBt;

    /**
     * 协议版本
     */
    private Integer xyBb;

    /**
     * 甲方id
     */
    private String xyJfId;

    /**
     * 甲方名称
     */
    private String xyJfMc;

    /**
     * 乙方id
     */
    private String xyYfId;

    /**
     * 乙方名称
     */
    private String xyYfMc;

    /**
     * 签署时间
     */
    private LocalDateTime cjsj;


    public static final String USER_ID = "user_id";

    public static final String USER_NAME = "user_name";

    public static final String XY_ID = "xy_id";

    public static final String XY_BT = "xy_bt";

    public static final String XY_BB = "xy_bb";

    public static final String XY_JF_ID = "xy_jf_id";

    public static final String XY_JF_MC = "xy_jf_mc";

    public static final String XY_YF_ID = "xy_yf_id";

    public static final String XY_YF_MC = "xy_yf_mc";

    public static final String CJSJ = "cjsj";


}
